package day04;

import java.util.Scanner;

public class SwitchCaseDemo {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请选择功能：1.存款 2.取款 3.转账 4.查询 5.退卡");
        int flag = input.nextInt();
        switch(flag){
            case 1:
                System.out.println("存款");
                break;
            case  2:
                System.out.println("取款");
                break;
            case 3:
                System.out.println("转账");
                break;
            case 4:
                System.out.println("查询");
                break;
            case 5:
                System.out.println("退卡");
                break;
            default :
                System.out.println("...");


        }
    }
}
